import classNames from 'classnames';
import './grid.less';

const Grid = ({row, col, children}) => {
  const classes = classNames('grid', {
    [`grid-row-${row}`]: row,
    [`grid-col-${col}`]: col,
  })
  return (
    <div className={classes}>
      {children}
    </div>
  )
}

export default Grid;
